#include "AVLTree.h"

int main()
{
	int arr[] = {10,12,8,9,6,7,32456,323,1314,423,5231,521,524,5543,5,4};

	AVLTree<int, int> av;

	for (auto e : arr)
	{
		if (e == 5)
		{
			int x =1;
		}
		av.Insert(make_pair(e, 1));
	}
	av.inorder();

	cout << av.high() << " ";
	return 0;
}